Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Engine(-Twitter),Frontend: avoid Close warning dialog (closes: #1093) #256

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

knocte
Copy link
Contributor

@knocte knocte commented Oct 16, 2016

There are some protocols, like Twitter, in which there are no
consequences from disconnecting from the server: no unavailable
status is shown to our contacts, and no chat buffers will be
lost because all the info resides server-side. For these, there
is not really any point in warning the user about current open
chats when she intends to close the connection, so let's
whitelist Twitter in this way to avoid the pointless dialog.

@knocte knocte force-pushed the twitterWarnCloseDialog branch 2 times, most recently from 070f385 to fb910ec Compare October 24, 2016 02:31
@knocte
Copy link
Contributor Author

knocte commented Oct 6, 2018

@meebey ping? :)

Methods that start with "On" are normally the ones that get
called because they got subscribed to some event. In this
case, this method is the one in charge of raising that event
so to make it a bit less confusing, let's rename it to have
the "Raise" prefix instead of "On".
There are some protocols, like Twitter, in which there are no
consequences from disconnecting from the server: no unavailable
status is shown to our contacts, and no chat buffers will be
lost because all the info resides server-side. For these, there
is not really any point in warning the user about current open
chats when she intends to close the connection, so let's
whitelist Twitter in this way to avoid the pointless dialog.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant