mod_ctlextra, pushroster

pushroster file user server

What is format of roster-file is needed?
Give me an example, please.

Read README.txt

On ejabberd-modules SVN you will find a README.txt file that includes a brief example for the roster file.

Ok, thanks!

badlop wrote:

On ejabberd-modules SVN you will find a README.txt file that includes a brief example for the roster file.

Ok, thanks!

hm...

ejabberd works with mod_roster_odbc via PostgreSQl
Tables rostergroups and rosterusers still empty for user mario :(
I tryed to turn off mod_shared_roster and pushed roster, but got same result.
Please, help!

jabber.domain wrote:

jabber$ cat /home/roster.txt
[{"aston", "jabber.domain", "TEMP", "User1"},
{"atom", "jabber.domain", "TEMP", "User2"},
{"flash", "jabber.domain", "TEMP", "User3"}].

jabber$ ejabberdctl pushroster /usr/lib/erlang/lib/ejabberd-1.1.2/ebin/roster.txt mario jabber.domain

It modifies the database

CombatPenguin wrote:

ejabberd works with mod_roster_odbc via PostgreSQl
Tables rostergroups and rosterusers still empty for user mario :(

Pushroster modifies the database, in this case, Mnesia. That command works only with Mnesia since that's the DB I use.

Can I request this feature?

badlop wrote:
CombatPenguin wrote:

ejabberd works with mod_roster_odbc via PostgreSQl
Tables rostergroups and rosterusers still empty for user mario :(

Pushroster modifies the database, in this case, Mnesia. That command works only with Mnesia since that's the DB I use.

Can I request this feature?

Syndicate content