@chat21/chat21-ionic 3.0.74-rc.1 → 3.0.74
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md
CHANGED
package/package.json
CHANGED
|
@@ -46,7 +46,7 @@ export class TiledeskService {
|
|
|
46
46
|
return this.http.put(url, body, httpOptions).pipe(map((res: any) => {
|
|
47
47
|
this.logger.log('[TILEDESK-SERVICE] - closeSupportGroup - RES ', res);
|
|
48
48
|
return res
|
|
49
|
-
|
|
49
|
+
}))
|
|
50
50
|
}
|
|
51
51
|
|
|
52
52
|
// http://tiledesk-server-pre.herokuapp.com/requests_util/lookup/id_project/support-group-60ffe291f725db00347661ef-b4cb6875785c4a23b27244fe498eecf44
|
|
@@ -65,7 +65,7 @@ export class TiledeskService {
|
|
|
65
65
|
return this.http.get(lookupUrl, httpOptions).pipe(map((res: any) => {
|
|
66
66
|
this.logger.log('[TILEDESK-SERVICE] GET PROJECTID BY CONV RECIPIENT - RES ', res);
|
|
67
67
|
return res
|
|
68
|
-
|
|
68
|
+
}))
|
|
69
69
|
}
|
|
70
70
|
|
|
71
71
|
public getProjects(token: string) {
|
|
@@ -280,6 +280,7 @@ export class FirebaseConversationHandler extends ConversationHandlerService {
|
|
|
280
280
|
private messageGenerate(childSnapshot: any) {
|
|
281
281
|
const msg: MessageModel = childSnapshot.val();
|
|
282
282
|
msg.uid = childSnapshot.key;
|
|
283
|
+
msg.text = msg.text.trim() //remove black msg with only spaces
|
|
283
284
|
// controllo fatto per i gruppi da rifattorizzare
|
|
284
285
|
if (!msg.sender_fullname || msg.sender_fullname === 'undefined') {
|
|
285
286
|
msg.sender_fullname = msg.sender;
|
|
@@ -287,6 +287,7 @@ export class MQTTConversationHandler extends ConversationHandlerService {
|
|
|
287
287
|
this.logger.log("[MQTTConversationHandler] childSnapshot >" + JSON.stringify(childSnapshot));
|
|
288
288
|
const msg = childSnapshot;
|
|
289
289
|
msg.uid = childSnapshot.key;
|
|
290
|
+
msg.text = msg.text.trim() //remove black msg with only spaces
|
|
290
291
|
// controllo fatto per i gruppi da rifattorizzare
|
|
291
292
|
if (!msg.sender_fullname || msg.sender_fullname === 'undefined') {
|
|
292
293
|
msg.sender_fullname = msg.sender;
|