mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-17 11:08:06 +00:00
merge
This commit is contained in:
commit
f1e04a31fc
1 changed files with 0 additions and 5 deletions
|
|
@ -75,8 +75,6 @@
|
|||
while (chatRoomEvents) {
|
||||
LinphoneEventLog *event = (LinphoneEventLog *)chatRoomEvents->data;
|
||||
[eventList addObject:[NSValue valueWithPointer:linphone_event_log_ref(event)]];
|
||||
|
||||
LOGD([NSString stringWithFormat:@"adding event at adress: %p", [[eventList lastObject] pointerValue]]);
|
||||
chatRoomEvents = chatRoomEvents->next;
|
||||
}
|
||||
bctbx_list_free_with_data(head, (bctbx_list_free_func)linphone_event_log_unref);
|
||||
|
|
@ -99,7 +97,6 @@
|
|||
}
|
||||
|
||||
- (void)addEventEntry:(LinphoneEventLog *)event {
|
||||
LOGD([NSString stringWithFormat:@"adding event at adress: %p", event]);
|
||||
[eventList addObject:[NSValue valueWithPointer:linphone_event_log_ref(event)]];
|
||||
int pos = (int)eventList.count - 1;
|
||||
NSIndexPath *indexPath = [NSIndexPath indexPathForRow:pos inSection:0];
|
||||
|
|
@ -109,7 +106,6 @@
|
|||
}
|
||||
|
||||
- (void)updateEventEntry:(LinphoneEventLog *)event {
|
||||
LOGD([NSString stringWithFormat:@"updating event at adress: %p", event]);
|
||||
NSInteger index = [eventList indexOfObject:[NSValue valueWithPointer:event]];
|
||||
if (index < 0) {
|
||||
LOGW(@"event entry doesn't exist");
|
||||
|
|
@ -206,7 +202,6 @@
|
|||
if (!cell) {
|
||||
cell = [[NSClassFromString(kCellId) alloc] initWithIdentifier:kCellId];
|
||||
}
|
||||
LOGD([NSString stringWithFormat:@"event adress: %p", event]);
|
||||
[cell setEvent:event];
|
||||
if (chat)
|
||||
[cell update];
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue