[Mobile] Fix comments loading
This commit is contained in:
parent
3cc0e9b5bd
commit
4f8c494563
|
@ -734,7 +734,7 @@ define([
|
|||
time : date.getTime(),
|
||||
replys : [],
|
||||
groupName : (groupname && groupname.length>1) ? groupname[1] : null
|
||||
}
|
||||
};
|
||||
if (comment) {
|
||||
var replies = this.readSDKReplies(data);
|
||||
if (replies.length) {
|
||||
|
@ -821,6 +821,13 @@ define([
|
|||
return 0;
|
||||
},
|
||||
|
||||
stringUtcToLocalDate: function (date) {
|
||||
if (typeof date === 'string')
|
||||
return parseInt(date) + this.timeZoneOffsetInMs;
|
||||
|
||||
return 0;
|
||||
},
|
||||
|
||||
addCommentToGroupCollection: function (comment) {
|
||||
var groupname = comment.groupName;
|
||||
if (!this.groupCollectionComments[groupname])
|
||||
|
|
Loading…
Reference in a new issue