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

  • Home
  • SEARCH
  • 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 601409
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T16:42:42+00:00 2026-05-13T16:42:42+00:00

I’ve read this paragraph from the App Engine documentation a dozen times and still

  • 0

I’ve read this paragraph from the App Engine documentation a dozen times and still am completely in the dark about how chat invitations work:

Invitations

Google Talk and other chat servers
will only accept messages for users
that are “subscribed” to the sender,
either because the user invited the
sender to chat or because the user
accepted an invitation to chat sent by
the sender. An App Engine app can send
chat invitations using the service
API. As with sending email, a best
practice is to send a chat invitation
only when the user asks, such as by
clicking a button on a web page.
Alternatively, the app can ask the
user to send an invitation to the
app’s XMPP address to enable receiving
of messages.

App Engine accepts all chat
invitations automatically, and does
not communicate invitations to the
application. App Engine will route all
chat messages to the application,
regardless of whether the sender
previously sent an invitation to the
app.

Maybe the problem is I haven’t used chat so I’m not familiar with how invitations work in practice. But the first issue is how/why/whether an application needs/gets permission to chat with a user.

The paragraph above seems to say the following:

  1. The application needs permission to send XMPP messages to the user (and the user needs permission to send XMPP messages to the app?), so
  2. The user has to send an invitation to the app to allow it to send messages to the user (and the app has to send an invitation to the user to allow the user to send messages to the app?)
  3. App Engine receives the chat invitation but does not communicate it to the app

Question: How does the app know whether it’s ok to send messages to the user since App Engine does communicate anything to app about the user’s response to the invitation?

  • 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-13T16:42:43+00:00Added an answer on May 13, 2026 at 4:42 pm

    Gmail is a great example:

    I send a message to my friend who is not on my “Friend List”. Gmail does not deliver my message, but instead delivers a message that says “Anthony would like to chat. Do you accept?”

    If my friend clicks “yes”, they get my message and I’m on their friend list and they are on my friend list, and we can chat freely without Gmail making sure it’s okay.

    If my friend clicks “no”, they never see my original message and GMail asks permission if I try again later.

    So the App does communicate with the user on the other end, it just doesn’t relay the message, only that I’m interested in being chat-buddies.

    quick update

    Another way of looking at this (if you remember these days), is a collect call. The operator simply says “Do you wish to accept a collect call from Jones?” The operator doesn’t say “He says it’s really important, he’s in jail.” And the operator doesn’t say “He said no, you can rot in jail.” to Jones. They broker the connection without either party making real contact until both parties agree.

    (Of course, we would always say our name was “I’m stuck at the mall!” when we tried calling home collect. But since there is no charge for a chat, such sneaky workarounds are not necessary in the XMPP world.)

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

Sidebar

Related Questions

Does anyone know how can I replace this 2 symbol below from the string
I'm looking for suggestions for debugging... If you view this site in Firefox or
link Im having trouble converting the html entites into html characters, (&# 8217;) i
this is what i have right now Drawing an RSS feed into the php,
I'm trying to decode HTML entries from here NYTimes.com and I cannot figure out
Seemingly simple, but I cannot find anything relevant on the web. What is the
That's pretty much it. I'm using Nokogiri to scrape a web page what has
I have just tried to save a simple *.rtf file with some websites and
I want to count how many characters a certain string has in PHP, but
I ran into a problem. Wrote the following code snippet: teksti = teksti.Trim() teksti

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.