Commit 5298e8bf authored by Sylvain Berfini's avatar Sylvain Berfini 🎩

Also fixed getUnreadMessagesCount in old Java classes

parent 62b0764e
......@@ -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.
......
......@@ -101,9 +101,9 @@ class LinphoneChatRoomImpl implements LinphoneChatRoom {
}
}
public int getUnreadMessageCount() {
public int getUnreadMessagesCount() {
synchronized(getCore()){
return getUnreadMessageCount(nativePtr);
return getUnreadMessagesCount(nativePtr);
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment