Updated liblinphone + can fetch conversations from liblinphone chat storage (not finished yet)
This commit is contained in:
parent
ee25db403c
commit
da01f25822
2 changed files with 5 additions and 2 deletions
|
@ -328,7 +328,10 @@ public class ChatStorage {
|
|||
ArrayList<String> chatList = new ArrayList<String>();
|
||||
|
||||
if (useNativeAPI) {
|
||||
//TODO
|
||||
LinphoneChatRoom[] chats = LinphoneManager.getLc().getChatRooms();
|
||||
for (LinphoneChatRoom chatroom : chats) {
|
||||
chatList.add(chatroom.getPeerAddress().asStringUriOnly());
|
||||
}
|
||||
} else {
|
||||
Cursor c = db.query(TABLE_NAME, null, null, null, "remoteContact", null, "id DESC");
|
||||
while (c != null && c.moveToNext()) {
|
||||
|
|
|
@ -1 +1 @@
|
|||
Subproject commit 952adab4f85dec18fbe980296c2c5462def1fc92
|
||||
Subproject commit 1ccf89e4fbd6618a9d4a77b54d62c1ce8bb4fa0d
|
Loading…
Reference in a new issue