Also fixed getUnreadMessagesCount in old Java classes

This commit is contained in:
Sylvain Berfini 2018-01-09 15:55:39 +01:00
parent 62b0764e2b
commit 5298e8bf7f
2 changed files with 3 additions and 3 deletions

View file

@ -80,7 +80,7 @@ public interface LinphoneChatRoom {
* Returns the amount of unread messages associated with the peer of this chatRoom.
* @return the amount of unread messages
*/
int getUnreadMessageCount();
int getUnreadMessagesCount();
/**
* Returns the amount of messages associated with the peer of this chatRoom.

View file

@ -101,9 +101,9 @@ class LinphoneChatRoomImpl implements LinphoneChatRoom {
}
}
public int getUnreadMessageCount() {
public int getUnreadMessagesCount() {
synchronized(getCore()){
return getUnreadMessageCount(nativePtr);
return getUnreadMessagesCount(nativePtr);
}
}