-
lovetox
Question about presence, when i don’t share my presence with a contact, but he with me, how does his server know that i am online and that i want his presence?
-
lovetox
as my server is not allowed to send to the other server that im online
-
lovetox
oh i guess the remote server just sends the presence only whenever the presence changes
-
MattJ
Yes. Your server may also request their latest presence (by sending a presence probe)
-
lovetox
ah, nice
-
lovetox
i have a situation where in my roster i have a contact with subscription=from
-
lovetox
and in the roster on the other server, iam with subscription=none
-
lovetox
this should not be possible or?
-
MattJ
It's not normal, no. It can happen though... e.g. due to server downtime or data being restored from a backup. However there is a healing mechanism that should lead them to synchronize state.
-
MattJ
I guess from/none may not update since the other server wouldn't ever send a probe
-
lovetox
i can reproduce this with the movim server 100% of the time
-
lovetox
if i am (acc on movim server) change the roster contact to "from"
-
lovetox
movim server sends me back a roster push with subscription = none
-
lovetox
hm maybe im doing something wrong
-
lovetox
as clients send only presence, we do not change the subscription state of the roster
-
lovetox
it happens when i want to remove his right to see my presence
-
lovetox
maybe i have to read up on that
-
lovetox
look at this interaction
-
lovetox
https://paste.gajim.org/view/6de697d3
-
lovetox
i request the roter, as prove subscription is "both"
-
lovetox
then i send "unsubscribed", server answers correctly with "from"
-
lovetox
then sends immediatly "none"
-
MattJ
Do you have any other clients logged in on the same account?
-
MattJ
Some might automatically unsubscribe from someone who unsubscribes from you
-
lovetox
Yes. Good tip will look into it