powered by Jive Software

Change the display of the JID in the Spark client


#1

Help Council. The Openfire server is integrated with Active Directory. The Spark client displays in the contacts list, the display name, but if you hover your mouse cursor is shown JID:username@xmppserver.the domain I want to replace with the display name. You should also replace THE jid mapping in THE vcard properties.


#2

This line in the source is responsible for showing full JID in this popup https://github.com/igniterealtime/Spark/blob/master/core/src/main/java/org/jivesoftware/spark/ui/ContactInfoWindow.java#L118
There is no setting to change that. You would have to remove or comment that line and compile your own version of Spark. You can also disable this popup in Preferences > Appearance.


#3

Thank you for the tip, but I did not understand how to fix it. I’m unpacking my Spark new 1 package.MSI" using xml2msi (Spark version 2.8.3). Open the directory with 7-zip and looking for C:\xml2msi\Sparknew1\spark.jar\org\jivesoftware\spark\ui, but there is no ContactInfoWindow file.java, there is only ContactInfoWindow$1.class and ContactInfoWindow.class. 118 the line with the contents of the I also found. What am I doing wrong?


#4

You can’t fix it by changing already compiled binaries (classes), this has to be done in original source files (java), which are then compiled into binary files. You will need some programming/development knowledge for that. I can’t help more as i have limited experience with that myself.


#5

Thank you for help