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