Artur Hefczyc opened 1 decade ago
|
|
Following changes were made:
|
|
Wojciech Kapcia wrote:
Ok, sounds good. However, as far as I know this particular feature is used right now only by customers with a custom client software. They do not add pubsub to the roster, they, however, send a direct presence to PubSub component as part of their login procedure.
Oh, well done.
Yes, however, we really do not want to save to offline storage all the user's events such as "user starts typing a message", "user left chat window", etc..... So my logic to ignore messages with an empty body was to avoid storing messages which are useless for offline users. Please make sure we do not store such messages. |
|
Artur Hefczyc wrote:
Understood. However handling of presence subscription was already there, but wasn't working (most likely due to recent changes in Tigase and requirement of correct xmlns attribute) so it was a small fix only.
Logic implemented by you was preserved, only condition to store pubsub messages was added. |
|
Perfect, thank you |
Type |
Task
|
Priority |
Critical
|
Assignee | |
RedmineID |
1664
|
Version |
tigase-server-5.2.0
|
Spent time |
138h
|
There seems to be a pubsub node config option to deliver notifications to either online only or all subscribers, so we need to check it if it works
Second thing is we need to check whether pubsub notifications are saved in DB for offline users and is delivered when user comes online