mirror of
https://github.com/moparisthebest/Yaaic
synced 2025-02-24 07:21:48 -05:00
ConversationActivity: Rejoin channels on reconnect
This commit is contained in:
parent
a05d8ee08b
commit
cb14889941
@ -368,6 +368,9 @@ public class ConversationActivity extends Activity implements ServiceConnection,
|
||||
.setCancelable(false)
|
||||
.setPositiveButton("Yes", new DialogInterface.OnClickListener() {
|
||||
public void onClick(DialogInterface dialog, int id) {
|
||||
binder.getService().getConnection(server.getId()).setAutojoinChannels(
|
||||
server.getCurrentChannelNames()
|
||||
);
|
||||
server.clearConversations();
|
||||
deckAdapter.clearConversations();
|
||||
deckAdapter.addItem(server.getConversation(ServerInfo.DEFAULT_NAME));
|
||||
|
Loading…
x
Reference in New Issue
Block a user