-
I've implemented generation of push notification on account removal. This is now supported by unencrypted and encrypted push notifications.
In case of plain notification, server will add element
<event xmlns='http://tigase.org/protocol/account#event' name='account-removed'/>
to the notification sent to push component that will handle forwarding this information, see tigase/_server/tigase-push#58
In case of encrypted notification, server will set
type
property of the encrypted payload toaccount-removed
. Support for this needs to be added and properly handled in the XMPP client receiving this notification.Enabling this feature is done by setting
send-account-removal-notification
property ofurn:xmpp:push:0
SessionManager processor, ie.'sess-man' { 'urn:xmpp:push:0' () { 'send-account-removal-notification' = true } }
Type |
Task
|
Priority |
Normal
|
Assignee | |
Version |
none
|
Sprints |
n/a
|
Customer |
n/a
|
Iterations
-
tigase-server-8.5.0 Open
Issue Votes (0)
When account is removed from the server side, client may not be aware of that. It would be beneficial to optionally send notifications on account removal to all client to remove user data or just inform the user that account was removed.