Fix grep command in chat window

Commit d75ebd95e5 modified the return value of logger.py's method
get_search_results_for_query by appending another component to the
tuple. Because of this unpacking the tuple in the command system's grep
command failed.
This commit is contained in:
Markus Böhme 2017-03-07 16:48:32 +01:00
parent ceb7772b5b
commit 0189305495
1 changed files with 1 additions and 1 deletions

View File

@ -100,7 +100,7 @@ class StandardCommonCommands(CommandContainer):
raise CommandError(_("Limit must be an integer"))
for row in results:
contact, time, kind, show, message, subject = row
contact, time, kind, show, message, subject, log_line_id = row
if not contact:
if kind == KindConstant.CHAT_MSG_SENT: