Skipping Telegram service messages. 98/55898/1
authorpolu.sandeep <polu.sandeep@samsung.com>
Wed, 30 Dec 2015 05:32:42 +0000 (14:32 +0900)
committerpolu.sandeep <polu.sandeep@samsung.com>
Wed, 30 Dec 2015 05:32:42 +0000 (14:32 +0900)
Change-Id: I5789127865bd7df8ceac616c10369eb2cec9495e

tg-engine-service/tg_engine/tg_engine.c

index c6c09bc..9ab54aa 100644 (file)
@@ -2011,6 +2011,11 @@ static Eina_Bool on_load_offline_messages(void *data)
                        if (tg_data->peer_list && eina_list_count(tg_data->peer_list) > 0) {
                                for (int i = 0; i < eina_list_count(tg_data->peer_list); i++) {
                                        tgl_peer_t* UC = eina_list_nth(tg_data->peer_list, i);
+
+                                       if (UC->id.id == 333000 || UC->id.id == 777000) {
+                                               continue;
+                                       }
+
                                        struct tgl_message *last_msg = UC->last;
                                        if (last_msg) {
                                                // check last message in message table