Skip to content

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

Open
knocte wants to merge 2 commits intomeebey:masterfrom
knocte:twitterWarnCloseDialog
Open

Engine(-Twitter),Frontend: avoid Close warning dialog (closes: #1093)#256
knocte wants to merge 2 commits intomeebey:masterfrom
knocte:twitterWarnCloseDialog

Conversation

@knocte
Copy link
Copy Markdown
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
Copy Markdown
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.
@knocte knocte force-pushed the twitterWarnCloseDialog branch from fb910ec to 41b248b Compare November 17, 2020 13:01
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.

1 participant