equal
deleted
inserted
replaced
99 TInt conversationId = -1; |
99 TInt conversationId = -1; |
100 TRAPD(err, |
100 TRAPD(err, |
101 conversationId = handler->GetConversationIdL(aContactId)); |
101 conversationId = handler->GetConversationIdL(aContactId)); |
102 CCsClientConversation* clientConversation = CCsClientConversation::NewL(); |
102 CCsClientConversation* clientConversation = CCsClientConversation::NewL(); |
103 clientConversation->SetConversationEntryId(conversationId); |
103 clientConversation->SetConversationEntryId(conversationId); |
|
104 // set the contact id, which will be used in case when the |
|
105 // conversation entry id is -1. |
|
106 clientConversation->SetContactId(aContactId); |
104 //set dummy entry |
107 //set dummy entry |
105 CCsConversationEntry *entry = CCsConversationEntry::NewL(); |
108 CCsConversationEntry *entry = CCsConversationEntry::NewL(); |
106 clientConversation->SetConversationEntryL(entry); |
109 clientConversation->SetConversationEntryL(entry); |
107 |
110 |
108 handler->RequestConversationChangeEventL(this, clientConversation); |
111 handler->RequestConversationChangeEventL(this, clientConversation); |
123 TInt conversationId = -1; |
126 TInt conversationId = -1; |
124 TRAPD(err, |
127 TRAPD(err, |
125 conversationId = handler->GetConversationIdL(aContactId)); |
128 conversationId = handler->GetConversationIdL(aContactId)); |
126 CCsClientConversation* clientConversation = CCsClientConversation::NewL(); |
129 CCsClientConversation* clientConversation = CCsClientConversation::NewL(); |
127 clientConversation->SetConversationEntryId(conversationId); |
130 clientConversation->SetConversationEntryId(conversationId); |
|
131 // set the contact id, which will be used in case when the |
|
132 // conversation entry id is -1. |
|
133 clientConversation->SetContactId(aContactId); |
128 //set dummy entry |
134 //set dummy entry |
129 CCsConversationEntry *entry = CCsConversationEntry::NewL(); |
135 CCsConversationEntry *entry = CCsConversationEntry::NewL(); |
130 clientConversation->SetConversationEntryL(entry); |
136 clientConversation->SetConversationEntryL(entry); |
131 |
137 |
132 handler->RemoveConversationChangeEventL(this, clientConversation); |
138 handler->RemoveConversationChangeEventL(this, clientConversation); |