Commit graph

5 commits

Author SHA1 Message Date
mjentsch
69acd90512 Support deleting contacts, handle deletions of chats and channels
When a user deletes a buddy list entry, ask if the chat or channel should be destroyed / left or the contact should be deleted. In many cases, deleting a buddy from the blist would have no effect, since the buddy would show up again on the next startup, which is most likely confusing to the user. Just destroying the chat or the channel is dangerous too, so ask for confirmation every time this happens to let the user choose what to do with that entry.
2016-01-25 00:59:56 +01:00
mjentsch
87225d7098 Fix sign in dialogue and clean up password prompt
Use purple_input_request with the masked bit set, instead of needlessly creating a request with generic fields. Implement correct sign in dialogue only queries for first and last name.
2015-11-16 10:04:41 +01:00
mjentsch
4b68797f89 Remove pointless "create chat" confirmation dialogue 2015-11-15 14:51:40 +01:00
mjentsch
f89f3fd71a Remove code duplication in sign-in procedures
Use the new libtgl request_values callback to query inputs from the user instead
of implementing the sign-in methods manually.
2015-11-15 14:04:00 +01:00
mjentsch
4c576524e4 Move requests into separate file 2015-10-03 02:12:58 +02:00