X-Git-Url: http://git.euphorik.ch/?p=euphorik.git;a=blobdiff_plain;f=js%2Fchat%2Fconversations.js;fp=js%2Fchat%2Fconversations.js;h=b3f18f34549dfad693a4cff65c24d649084c6b35;hp=063220c578dbe5ce84c5174b2a25eb7ce8613c86;hb=eb44db02bab9c8b082201aa153dea8229432e894;hpb=e49a1c483f1751f129c0766d1061b3da44b60581 diff --git a/js/chat/conversations.js b/js/chat/conversations.js index 063220c..b3f18f3 100644 --- a/js/chat/conversations.js +++ b/js/chat/conversations.js @@ -181,7 +181,7 @@ euphorik.Conversations.prototype.afficherMessagesRepondConversations = function( euphorik.Conversations.prototype.getJSONrafraichirMessages = function() { var mess = { "message_count" : euphorik.conf.nbMessageAffiche, - "main_page" : this.client.pagePrincipale, + "main_page" : this.client.mainConversationPage, "conversations" : this.getJSONConversations(), "troll_id" : this.trollIdCourant }; @@ -232,7 +232,7 @@ euphorik.Conversations.prototype.ajouterMessages = function(elements, numConvers // renseigne la conversation sur la page courante et si c'est la dernière this.conversations[numConversation].setPage( - numConversation === 0 ? this.client.pagePrincipale : this.client.conversations[numConversation - 1].page, + numConversation === 0 ? this.client.mainConversationPage : this.client.conversations[numConversation - 1].page, elements.last_page );