restore_conversation is back
This commit is contained in:
parent
7ddc438f53
commit
b474e3141e
1 changed files with 3 additions and 3 deletions
|
@ -761,7 +761,7 @@ timestamp, contact):
|
||||||
nb, line = gajim.logger.read(jid, count - 1 - pos, count - pos)
|
nb, line = gajim.logger.read(jid, count - 1 - pos, count - pos)
|
||||||
pos = pos + 1
|
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 == []:
|
if line == []:
|
||||||
break
|
break
|
||||||
|
|
||||||
|
@ -773,8 +773,8 @@ timestamp, contact):
|
||||||
# we don't want to display status lines, do we?
|
# we don't want to display status lines, do we?
|
||||||
continue
|
continue
|
||||||
|
|
||||||
lines.append(line[0])
|
lines.append(line[0])
|
||||||
size = size + 1
|
size = size + 1
|
||||||
|
|
||||||
if lines != []:
|
if lines != []:
|
||||||
lines.reverse()
|
lines.reverse()
|
||||||
|
|
Loading…
Add table
Reference in a new issue