restore_conversation is back
This commit is contained in:
parent
7ddc438f53
commit
b474e3141e
|
@ -761,7 +761,7 @@ timestamp, contact):
|
|||
nb, line = gajim.logger.read(jid, count - 1 - pos, count - pos)
|
||||
pos = pos + 1
|
||||
|
||||
# line is [] if log file for jid is not a file (does not exist or dir)
|
||||
# line is [] if log file for jid is not a file (does not exist or dir)
|
||||
if line == []:
|
||||
break
|
||||
|
||||
|
@ -773,8 +773,8 @@ timestamp, contact):
|
|||
# we don't want to display status lines, do we?
|
||||
continue
|
||||
|
||||
lines.append(line[0])
|
||||
size = size + 1
|
||||
lines.append(line[0])
|
||||
size = size + 1
|
||||
|
||||
if lines != []:
|
||||
lines.reverse()
|
||||
|
|
Loading…
Reference in New Issue