]> jfr.im git - solanum.git/commit - extensions/invite_notify.c
Fix invite-notify and move it to an extension
authorEd Kellett <redacted>
Sat, 1 Feb 2020 02:10:33 +0000 (02:10 +0000)
committerEd Kellett <redacted>
Thu, 30 Apr 2020 17:17:00 +0000 (18:17 +0100)
commit91ccda4f8cbf78c0c27180bc59be3ea2458a761e
tree100c943ff5fc9559cfe29823e15f726fbda9aa48
parente0622d7519df14d95328f88d3e79fe10a8e953a9
Fix invite-notify and move it to an extension

The existing approach to invite-notify is deeply flawed--it currently
notifies only the target user's server, and that can't be fixed without
sending notifies for invites that end up not happening.

I'm resolving this by broadcasting a second message, INVITED, from the
target user's server. I'm also pulling it out into an extension while
I'm at it--invite notifies reveal new information, so I don't think
they should be mandatory.
extensions/Makefile.am
extensions/invite_notify.c [new file with mode: 0644]
modules/m_invite.c