Fixed chat when adding third room.
This commit is contained in:
parent
0456bcc90c
commit
57708ed431
5
CHANGES
5
CHANGES
|
@ -1,6 +1,11 @@
|
|||
CHANGES
|
||||
=======
|
||||
|
||||
HEAD
|
||||
------------------
|
||||
- use extended fax if available only and have fine resolution on receive activated by default
|
||||
- fixed chat error on creating third chat-room
|
||||
|
||||
chan_capi-1.1.3
|
||||
------------------
|
||||
- fixed buffer length error with internal libcapi debug code.
|
||||
|
|
|
@ -389,8 +389,8 @@ static struct capichat_s *add_chat_member(char *roomname, struct capi_pvt *i, ro
|
|||
room_mode = tmproom->room_mode;
|
||||
break;
|
||||
} else {
|
||||
if (tmproom->number == roomnumber) {
|
||||
roomnumber++;
|
||||
if (tmproom->number >= roomnumber) {
|
||||
roomnumber = tmproom->number + 1;
|
||||
}
|
||||
}
|
||||
tmproom = tmproom->next;
|
||||
|
|
Loading…
Reference in New Issue