Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6557739
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T13:06:47+00:00 2026-05-25T13:06:47+00:00

Like the title says… Is it required? I know most servers automatically send it

  • 0

Like the title says… Is it required?
I know most servers automatically send it when they detect client disconnection.
So the question would be: Is it a good practice to send presence type=”unavailable” when disconnecting from xmpp server?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-25T13:06:48+00:00Added an answer on May 25, 2026 at 1:06 pm

    It’s not required, but it is considered good practice, since in theory, you can send interesting information when you go unavailable, like how long you expect to be gone. In practice, it almost never makes a difference.

    Keep in mind that a conformant server will send your unavailable presence (whether automatically, or when you ask it to by sending type=’unavailable’), it will go to all of your subscribers (subscription=’both’ or ‘from’), as well as every JID you have directed presence to. This is crucial to ensure that you get dropped out of all of the chat rooms you have joined (by sending them presence), for example.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Like the title says.. why ? I know why its required on the normal
Like the title says, I'm curious to know what state is contained in a
Like the title says, if anyone has the answer I would like to know.
Like the title says, I want to know what (int (*)()) in a C-define-function-call
Like the title says Where and How (i.e. if encrypted, with what method) does
Like the title says, how do you create custom code snippets in Visual Studio
Like the title says, If I place an app_offline.htm in the application root, will
Like the title says, the error I get is the following: An invalid '/'
Like the title says, I'm trying to determine if data is a standard attribute
So, just like the title says, I need to create an application that gets

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.