Questions tagged [user-presence]

User-presence refers to the communication status of a participating user in a communication system such as Instant Messaging (IM).

Description

Presence is a piece of status information containing an availability state. It indicates the willingness of a potential communication entity to participate in a chat communication.

Common Uses

The following list includes, but not limited to the common user presences.

  • Online
  • Available to chat
  • Busy
  • Do not disturb
  • Away
  • Offline

In current standards, there are a richer choice in presence attributes such as user's mood, emotion and location.

Privacy

Presence is a sensitive information when it comes down user privacy. Thus, in most cases, a communication system would draw limits to whom a user's presence may be revealed to.

Standard

Presence is widely used in Instant Messaging (IM). The most popular standard protocol for presence is XMPP, short for eXtensible Messaging and Presence Protocol. To read more about XMPP's internet standards, visit http://xmpp.org/rfcs/rfc3921.html.

121 questions
8
votes
2 answers

PHP Verification Codes CAPTCHA

I run a game website so I have many users logged in and they can do certain things once every two minutes. I have a CAPTCHA system in places, and for some things it will always ask for a code, and for other things, it will ask once every 10…
Juddling
  • 4,137
  • 6
  • 29
  • 38
8
votes
0 answers

XMPP “stream:error (conflict)” when try to reconnect or login

I am using Smack and Openfire server for a chat client, all things working well like chat, sending an invitation for a new addition of user, getting list of available users etc. I don't have a clue what to do if the connection is in a Sticky Service…
Saty
  • 2,355
  • 3
  • 31
  • 81
5
votes
1 answer

Add MS Office communicator presence indicator into JSP

I want to add MS Office communicator presence indicator into my Java Application(jsp).
Pritesh
  • 51
  • 1
  • 3
5
votes
1 answer

Jabber user going offline: Why the two different scenarios?

I have an Android client working in tandem with ejabberd XMPP server. Observations: Scenario 1: When I swipe-right the app (kill the app), the user goes offline on the server immediately. Its status is changed to offline at that very…
Raina M
  • 123
  • 5
5
votes
1 answer

How Does the Office Communicator Presence Status Work?

I'm interested in finding out more about the Microsoft Office Communicator IM client, and how it determines your presence (i.e if you are at your computer or away). Can anyone point me towards a tutorial that explains this, or details of the API?
MagicAndi
  • 42,295
  • 24
  • 76
  • 109
4
votes
4 answers

Querying for presence in XMPP

By default, XMPP presence is published to all those who are subscribed to that person. Is it possible to send something like an iq call to get presence tag of an id whos not present in my roster?
sandeepzgk
  • 459
  • 1
  • 6
  • 13
4
votes
0 answers

Firebase presence system that works for multiple devices

In my chat application based on Firebase, I wanted the ability for a user to know if another user is online on any one of the devices (browser / iOS / Android). I referred to the sample shown on this page. But using this example, I noticed multiple…
4
votes
1 answer

Phoenix Presence track user across multiple channels with alternating meta

I am building a whatsapp clone and having trouble figuring out some stuff with Presence. I have two channel: channel "chats:*", Typi.ChatChannel channel "users:*", Typi.UserChannel The user is always connected to users:... channel, if he is in…
almeynman
  • 5,906
  • 3
  • 19
  • 29
4
votes
1 answer

XMPP presence Subscription

In my application when I send a request to any friend using this code.. try { roster.createEntry(idExtension, nickname, null); roster.setSubscriptionMode(Roster.SubscriptionMode.manual); …
Gaurav Arora
  • 7,792
  • 20
  • 83
  • 132
3
votes
2 answers

Advice on implementing "presence" for a web site?

Ideally, I'd like to find simple, lightweight code that allows all the web clients connected to my site to maintain real-time status of who else is currently online. I know ejabberd does this, but it also does a lot of other things, and I'd prefer a…
jseims
  • 31
  • 1
  • 2
3
votes
1 answer

XMPPFramework - Presence not received in iOS

I am trying to send message from simulator to device. On simulator there is one user while on device there is another user. But presence is not being received at any end. I am using XMPPFramework for ios. Here is the code I am using to send…
Ayaz Alavi
  • 4,697
  • 8
  • 48
  • 67
3
votes
3 answers

Change XMPPPresence to Away/Busy/Invisible

How do you change your presence to show dnd/away and etc.? XMPPPresence *presence = [XMPPPresence presenceWithType:status]; [[[self appDelegate] xmppStream] sendElement:presence]; status is an NSString that I set to…
Vincent Bacalso
  • 2,009
  • 4
  • 23
  • 32
3
votes
1 answer

Get Presence of Multiple JIDs at once XMPP

I am developing a XMPP application and will be doing a global shared roster so that I don't have to do presence subscription requests. I also need to get the presence of a certain range of JabberIDs and not the entire global roster. We do not want…
3
votes
3 answers

smack presence listener in multi user chat

smack presence listener in multi user chat not getting called. Used Smack Api to login and then added roster.addRosterListener(mRoasterListener); but could not get any success to listen when presence of other user of the chat room changes. I tried…
Abhishek Jha
  • 157
  • 4
  • 14
3
votes
2 answers

How to set and get presence in xmpp android

I am new to android and xmpp..i am trying to build a chatting app using xmpp. I want to know How to set my presence and also get other users presence in xmpp android. i tried with their provided documentation but it is not working ..always status…
Arjun090
  • 99
  • 5
1
2 3
8 9