Comments (3)
If Cat redirects to standard input, and it contains binary values, probably that's a problem.
You can try this:
- Install ejabberd_xmlrpc, setup in ejabberd.cfg
- Use one of the example XMLRPC clients (in PHP, Python...) to check you can call ejabberd commands
- Then modify that script to call set_card2 command, providing the value.
However, I suspect ejabberd commands isn't ready to accept arguments as binary values.
from ejabberd.
Remove newlines!
ejabberdctl set_vcard2 sam chat.server.local PHOTO BINVAL "cat a1.64 | tr -d "\n"
"
from ejabberd.
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
from ejabberd.
Related Issues (20)
- Import from Prosody with "roster" has: "approved" attribute. HOT 2
- Assigning INET_DIST_INTERFACE to an IPv6 address HOT 3
- exception error: {unregistered_route,<<"pubsub.domain.tld">>} HOT 4
- Dependency conflicts when using Timex with Ejabberd HOT 2
- Update mod_muc_room to support XEP-0425 0.3.0 (VERY EARLY DRAFT)
- erts_vsn inside ejabberdctl never gets set HOT 3
- SASL2: Stable resource is used if no user-agent id is set. HOT 8
- Error While call /api/get_user_subscriptions at localhost HOT 3
- Return type of get_vcard API call changed (and is different from docs) HOT 2
- ejabberd do not start after update from 23.10 to 24.02 HOT 5
- Store data into nick column on archive table.
- Date and reason for banned accounts not stored when using SCRAM HOT 6
- How to get the current date for created_at when create a Multi-User Chat. HOT 19
- Stream closed by local host: has been kicked (policy-violation) HOT 2
- Mucsub subscription messages are not receiving when create a new group in a other xmpp connection. HOT 23
- [Question] Custom Module deps HOT 7
- mod_block_strangers: Allow messages from joined MIX channels HOT 1
- "Internal error of module mod_mam has occurred during start" related to origin_id HOT 9
- Error after diabling and enabling back mod_fail2ban HOT 1
- Rebar3 downloads all dependencies in rebar.lock, even the disabled ones
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ejabberd.