Merge lp:~libqtelegram-team/telegram-app/app-fix-scope-meta into lp:telegram-app/app

Proposed by Michał Karnicki
Status: Merged
Merge reported by: Michał Karnicki
Merged at revision: not available
Proposed branch: lp:~libqtelegram-team/telegram-app/app-fix-scope-meta
Merge into: lp:telegram-app/app
Diff against target: 28 lines (+2/-3)
3 files modified
.bzrignore (+1/-0)
scope/src/com.ubuntu.telegram_sctelegram_automoc.cpp (+0/-2)
scope/src/config.h (+1/-1)
To merge this branch: bzr merge lp:~libqtelegram-team/telegram-app/app-fix-scope-meta
Reviewer Review Type Date Requested Status
libqtelegram team Pending
Review via email: mp+247757@code.launchpad.net

Description of the change

Tested by refreshing the scope and seeing a previously shown action message "You created the chat" is now gone from the scope.

Also removed
scope/src/com.ubuntu.telegram_sctelegram_automoc.cpp
which is build at compile time.

To post a comment you must log in.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file '.bzrignore'
2--- .bzrignore 2015-01-24 08:44:54 +0000
3+++ .bzrignore 2015-01-27 17:56:01 +0000
4@@ -30,3 +30,4 @@
5 com.ubuntu.telegram.cbp
6 tests/autopilot/sctelegram/test_generic.py
7 tests/autopilot/sctelegram/test_scope.py
8+scope/src/com.ubuntu.telegram_sctelegram_automoc.cpp
9
10=== removed file 'scope/src/com.ubuntu.telegram_sctelegram_automoc.cpp'
11--- scope/src/com.ubuntu.telegram_sctelegram_automoc.cpp 2014-11-24 19:39:49 +0000
12+++ scope/src/com.ubuntu.telegram_sctelegram_automoc.cpp 1970-01-01 00:00:00 +0000
13@@ -1,2 +0,0 @@
14-/* This file is autogenerated, do not edit*/
15-enum some_compilers { need_more_than_nothing };
16
17=== modified file 'scope/src/config.h'
18--- scope/src/config.h 2014-12-02 15:29:08 +0000
19+++ scope/src/config.h 2015-01-27 17:56:01 +0000
20@@ -86,7 +86,7 @@
21 " (SELECT type FROM messageActions WHERE messageId=id) AS actionType,\n"
22 " (SELECT title FROM messageActions WHERE messageId=id) AS actionTitle\n"
23 " FROM messages\n"
24- " WHERE %1\n";
25+ " WHERE (actionType IS NULL OR actionType = '') AND %1\n";
26
27
28 const QString DATE_FORMAT="dd MMM yyyy";

Subscribers

People subscribed via source and target branches

to all changes: