annotate mod_proctitle/mod_proctitle.lua @ 3656:3e0f4d727825

mod_vcard_muc: Add an alternative method of signaling avatar change When the avatar has been changed, a signal is sent that the room configuration has changed. Clients then do a disco#info query to find the SHA-1 of the new avatar. They can then fetch it as before, or not if they have it cached already. This is meant to be less disruptive than signaling via presence, which caused problems for some clients. If clients transition to the new method, the old one can eventually be removed. The namespace is made up while waiting for standardization. Otherwise it is very close to what's described in https://xmpp.org/extensions/inbox/muc-avatars.html
author Kim Alvefur <zash@zash.se>
date Sun, 25 Aug 2019 20:46:43 +0200
parents 94c4d4899a21
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1686
79ea92228101 Add proctitle module
Rob Hoelz <rob@hoelz.ro>
parents:
diff changeset
1 -- Changes the process name to 'prosody' rather than 'lua'/'lua5.1'
79ea92228101 Add proctitle module
Rob Hoelz <rob@hoelz.ro>
parents:
diff changeset
2 -- Copyright (C) 2015 Rob Hoelz
79ea92228101 Add proctitle module
Rob Hoelz <rob@hoelz.ro>
parents:
diff changeset
3 --
79ea92228101 Add proctitle module
Rob Hoelz <rob@hoelz.ro>
parents:
diff changeset
4 -- This file is MIT/X11 licensed.
79ea92228101 Add proctitle module
Rob Hoelz <rob@hoelz.ro>
parents:
diff changeset
5
1687
94c4d4899a21 Add minimal instructions for proctitle module
Rob Hoelz <rob@hoelz.ro>
parents: 1686
diff changeset
6 -- To use this module, you'll need the proctitle Lua library:
94c4d4899a21 Add minimal instructions for proctitle module
Rob Hoelz <rob@hoelz.ro>
parents: 1686
diff changeset
7 -- https://github.com/hoelzro/lua-proctitle
1686
79ea92228101 Add proctitle module
Rob Hoelz <rob@hoelz.ro>
parents:
diff changeset
8 local proctitle = require 'proctitle';
79ea92228101 Add proctitle module
Rob Hoelz <rob@hoelz.ro>
parents:
diff changeset
9
79ea92228101 Add proctitle module
Rob Hoelz <rob@hoelz.ro>
parents:
diff changeset
10 proctitle 'prosody';