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.

131 questions
0
votes
1 answer

Laravel 9 presence channels for all users (guests and logged)

There are many similar topics, but no solution is correct. I need to be able to "authenticate" logged in users and guests for a specific presence channel only. How can I achieve this? The rest of the channels are to be available as standard only to…
60poro
  • 1
  • 1
0
votes
1 answer

How can I get what a user is playing on discord?

I'm trying to make a bot (as a joke) that kicks a user when they're playing an specific game, I've been trying to use presence, but can't figure it out. client.on('presenceUpdate', (oldPresence, newPresence) => { let member = newPresence.member; if…
0
votes
2 answers

How to retrieve online presence status in Outlook using VBA

Problem I need to get online presence status from Microsoft Outlook using VBA. The status is presented as a green-yellow-red-grey light displayed near the contact name and usually provided by some instant message(IM) application (e.g. Teams, Skype,…
mspnr
  • 416
  • 4
  • 12
0
votes
2 answers

Users Presence Monitoring Using Firebase Realtime DB Rest API

I am building a chat application with an online/offline feature, using firebase rest API as my backend (without JS SDK). First I try to implement a solution on the client-side only: Detect that the user disconnected (leave the site) Update a…
dan
  • 326
  • 4
  • 14
0
votes
1 answer

Managing user presence in real time database using Flutter

The below code update the presence field to true upon losing the internet or when I clear the app from memory. When I press the back or home button, the presence field in the database remains to true. How can I update presence field to false when…
0
votes
1 answer

onDisconnect fires when client reconnects

I am listening to .info/connected to figure out if my device is online or not. If it is online it adds a child with the device id to the database. _firebaseDatabase.reference().child('.info/connected').onValue.listen((event) { if…
0
votes
1 answer

Cloud Firestore for Presence notifications

I want to use Cloud Firestore for generating notifications for the changes in the database. However, the database structure is a bit complex and I am not sure how I can create the design for generating presence notifications using Google Cloud…
0
votes
1 answer

Firebase Realtime onDisconnect does not work when same app is running location service in the background(location.enableBackgroundMode(enable: true);)

NOTE This problem is only on android I implemented location service in the background to get location updates when the app is in the background (I do not need location when app is terminated, only need it when app is in the background) >>code:…
0
votes
0 answers

presence update not working discord.js v12

I am trying to give a role if members has set a custom presence what I want set their custom status in discord! but bot is giving a promblem const Discord = require('discord.js') const client = new Discord.Client() client.on('ready', () => { …
swathi Rsb
  • 13
  • 4
0
votes
1 answer

Get a user's presence - discord JDA library

I'm trying to write a discord bot using JDA, and while I can get the presence of the bot fairly easily, I cannot get the presence of a selected user. An example use case for this might be the user typing in a command like !game and then the bot…
Mike
  • 175
  • 1
  • 13
0
votes
1 answer

What is "Your Presence" API in JavaScript?

I was accessing a sites permissions and noticed "Your Presence" So, what does this mean? Is there an API for this? Does this bring up the sensor prompt? If this is an API, I would like to know how to use it.
quicVO
  • 778
  • 4
  • 13
0
votes
1 answer

Firebase Realtime Database Presence Not Working

From the documentation, I am doing this: var currentUser; firebase.auth().onAuthStateChanged(function(user) { if (user && user.emailVerified) { currentUser = user; setPresence(); } }); function…
0
votes
1 answer

Subscribing to presence in MS Graph API for multiple users

I am currently trying to retrieve Teams presence information via MS Graph API SDK (Beta). Everything is working smoothly when just subscribing for some users. As soon as the number of users gets larger, problems are starting. I hope someone can…
0
votes
2 answers

Discord js - Get member's presence game

how can i get the game a member is playing. with user.presence, there is nothing in activity, even if member is playing (display on discord) An idea ? Console.log(user.presence) Here is the code const membre =…
guillaumearnx
  • 142
  • 3
  • 12
0
votes
1 answer

Not getting extension id with Error CMN-102

I continuously getting the following issue when trying call the Presence API: { "errorCode":"CMN-102", "message":"Resource for parameter [extensionId] is not found", "errors": [ { "errorCode":"CMN-102","message":"Resource for…
Ravi J
  • 107
  • 4
1 2 3
8 9