Author Topic: Contacts looks offline when not using the default XMPP server  (Read 7120 times)

0 Members and 1 Guest are viewing this topic.

Offline wor123

Hello:
My default XMPP server in use is jabber.hot-chilli.net. However when I switch from it to other XMPP server like xmpp.jp, all of my contacts looks offline, even if some of them aren't.
What causes this?
Windows 10 Enterprise 22H2 64bit
Miranda NG v0.96.4.1 64bit
 

Offline ghazan

What do you mean by "switch" ? You simply enter another server's address?
That server has its own roster, so you'd need to authorize all your contacts from scratch to see their online status
 

Offline wor123

Yes. I'm enter another server's address. Is this a specific problem of xmpp.jp? If so I would register to another XMPP server so I wouldn't need to do this hard work of authorizing all my contacts from scratch, which can lead to deletion of their histories.
Windows 10 Enterprise 22H2 64bit
Miranda NG v0.96.4.1 64bit
 

Offline dartraiden

This is how XMPP works in general. Each server is independent from the other, servers can communicate with each other. But an account on one server is not connected to an account on another server. These are completely different accounts, each with its own list of contacts.

You can convert the old XMPP account to Dummy to preserve history. Install the Dummy protocol, and create a new Dummy account. Open the database editor and find the section [Dummy_X].  This is the internal name of the account. If this is the only one Dummy account, then the name will be Dummy_1. Go to the contacts section in the database editor. Each contact has a Jabber_X subsection and Protocol subsection with "p" key. Change Jabber_X to Dummy_1 in both places.

Do it for every contact of the old XMPP account. After all the contacts of the old account have been converted to the dummy protocol (they now have a Dummy icon in the contact list instead of a Jabber icon), you can delete the old account from the account manager in Miranda and create a new XMPP account with a new server address.

Add and authorize your contacts again via new account than merge them with dummy contacts into metacontacts. Thus, each metacontact will contain two subcontacts: a dummy sub with the previous history from old acoount and a new contact in which a new history will accumulate as further communication
« Last Edit: 22 02 2024, 17:21:43 by dartraiden »
 

Offline wor123

This looks to me more like a bug in Miranda NG rather than the XMPP itself.It is very hard to me to do all these procedures to get my contacts online on different server.
Windows 10 Enterprise 22H2 64bit
Miranda NG v0.96.4.1 64bit
 

Offline dartraiden

You can try other XMPP clients and make sure they all behave the same.

https://datatracker.ietf.org/doc/html/rfc6121

Quote
In XMPP, a user's roster contains any number of specific contacts.  A user's roster is stored by the user's server
« Last Edit: 25 02 2024, 15:26:20 by dartraiden »
 

Offline wor123

Ah. Thanks.
Windows 10 Enterprise 22H2 64bit
Miranda NG v0.96.4.1 64bit