Bug fix: Auto rejoin memos on reconnect

This commit is contained in:
Kiooeht 2011-05-09 10:06:58 -07:00
parent 381c77696d
commit a696e4b028
2 changed files with 6 additions and 1 deletions

View file

@ -18,7 +18,6 @@ Bugs
* Windows doesn't show style sheet sometimes?? Maybe related to themes.
* Issues with connecting? Client not closing connection right? People keep getting "nick taken" messages
* Windows XP SP2: sometimes mouse clicks dont register? must be some kinda crash
* Leave memos on reconnect, needs to auto-rejoin memos
* When using mood sort, scroll position jumps to last selected chum
Mac Bugs

View file

@ -2741,6 +2741,12 @@ class MainProgram(QtCore.QObject):
if status == QtGui.QDialog.Rejected:
sys.exit(0)
else:
if self.widget.tabmemo:
for c in self.widget.tabmemo.convos:
self.irc.joinChannel(c)
else:
for c in self.widget.memos.values():
self.irc.joinChannel(c.channel)
return True
@QtCore.pyqtSlot()