ejabberd: enable mod_pubsub, mod_avatar
i'm able to do this without breaking federation now, but it doesn't seem to fullly work.
This commit is contained in:
@@ -52,7 +52,9 @@
|
|||||||
|
|
||||||
# docs: <https://docs.ejabberd.im/admin/configuration/basic/#shaper-rules>
|
# docs: <https://docs.ejabberd.im/admin/configuration/basic/#shaper-rules>
|
||||||
shaper_rules:
|
shaper_rules:
|
||||||
max_s2s_connections: 3
|
# setting this to above 1 may break outgoing messages
|
||||||
|
# - maybe some servers rate limit? or just don't understand simultaneous connections?
|
||||||
|
max_s2s_connections: 1
|
||||||
max_user_offline_messages: 5000
|
max_user_offline_messages: 5000
|
||||||
c2s_shaper:
|
c2s_shaper:
|
||||||
fast: all
|
fast: all
|
||||||
@@ -112,7 +114,7 @@
|
|||||||
modules:
|
modules:
|
||||||
# allows users to set avatars in vCard
|
# allows users to set avatars in vCard
|
||||||
# - <https://docs.ejabberd.im/admin/configuration/modules/#mod-avatar>
|
# - <https://docs.ejabberd.im/admin/configuration/modules/#mod-avatar>
|
||||||
# mod_avatar: {}
|
mod_avatar: {}
|
||||||
mod_caps: {} # for mod_pubsub
|
mod_caps: {} # for mod_pubsub
|
||||||
mod_carboncopy: {} # allows multiple clients to receive a user's message
|
mod_carboncopy: {} # allows multiple clients to receive a user's message
|
||||||
# allows clients like Dino to discover where to upload files
|
# allows clients like Dino to discover where to upload files
|
||||||
@@ -157,14 +159,14 @@
|
|||||||
- vjid.xmpp.uninsane.org
|
- vjid.xmpp.uninsane.org
|
||||||
search: true
|
search: true
|
||||||
mod_vcard_xupdate: {} # needed for avatars
|
mod_vcard_xupdate: {} # needed for avatars
|
||||||
# # docs: <https://docs.ejabberd.im/admin/configuration/modules/#mod-pubsub>
|
# docs: <https://docs.ejabberd.im/admin/configuration/modules/#mod-pubsub>
|
||||||
# mod_pubsub: # needed for avatars
|
mod_pubsub: # needed for avatars
|
||||||
# host: pubsub.xmpp.uninsane.org
|
host: pubsub.xmpp.uninsane.org
|
||||||
# hosts:
|
hosts:
|
||||||
# - pubsub.xmpp.uninsane.org
|
- pubsub.xmpp.uninsane.org
|
||||||
# plugins:
|
plugins:
|
||||||
# - flat
|
- flat
|
||||||
# - pep
|
- pep
|
||||||
mod_version: {}
|
mod_version: {}
|
||||||
'';
|
'';
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user