Project

General

Profile

Offline Presence not working in tigase

Vinoth Rajendran
Added over 4 years ago

I am using Tigase 5.2.3 and my init.properties file is,

--comp-class-1 = tigase.muc.MUCComponent
--comp-class-6 = tigase.muc.MUCComponent
--comp-class-5 = tigase.muc.MUCComponent
--virt-hosts = 192.168.1.94
--user-db-uri = jdbc:mysql://localhost/tigasedb12?user=root&password=root
--user-db = mysql
--admins = admin@192.168.1.94
--comp-name-4 = message-archive
--comp-name-3 = proxy
config-type = --gen-config-def
--comp-name-2 = pubsub
--comp-name-6 = conference
--comp-name-5 = channel
--comp-name-1 = muc
--cluster-mode = false
--sm-plugins = message-archive-xep-0136

# To save group chat message. 
conference/default_room_config/conference#roomconfig_persistentroom=true
muc/default_room_config/muc#roomconfig_persistentroom=true
channel/default_room_config/channel#roomconfig_persistentroom=true

--debug = server,db, archive, xmpp.impl, xmpp
--comp-class-4 = tigase.archive.MessageArchiveComponent
--comp-class-3 = tigase.socks5.Socks5ProxyComponent
--comp-class-2 = tigase.pubsub.PubSubComponent

# To Enabling typing notification
conference/muc-allow-chat-states[B]=true
conference/message-filter-enabled[B]=false

muc/muc-allow-chat-states[B]=true

muc/muc-lock-new-room[B]=false
channel/muc-lock-new-room[B]=false

#message-archive/archive-repo-uri=jdbc:mysql://localhost/tigasedb?user=root&password=root
message-archive/auto=true
sess-man/plugins-conf/message-archive-xep-0136/required-store-method=message
sess-man/plugins-conf/message-archive-xep-0136/component-jid=message-archive@192.168.1.94.

When User A and B are online chatting together. If A goes offline, this presence not automatically tiggered at User B. If B refresh a page it will work.

How to trigger this presence automatically.

I dont know what this line makes,

sess-man/plugins-conf/presence/skip-offline=false
sess-man/plugins-conf/presence/skip-offline-sys=false

Replies (1)

Added by Wojciech Kapcia TigaseTeam over 4 years ago

How do you connect to the server? (mention of the browser would indicate BOSH?). What library do you use? How do you disconnect the user? Do you send <presence type='unavailable'/> before closing the session? It looks like Tigase is behaving correctly as it recognize the disconnection of user A, but user B can't process this information and requires a reconnect?

    (1-1/1)