summary refs log tree commit diff
diff options
context:
space:
mode:
authorEmmanuel ROHEE <erohee@amdocs.com>2014-09-15 10:08:47 +0200
committerEmmanuel ROHEE <erohee@amdocs.com>2014-09-15 10:08:47 +0200
commit3292f70071f036e8a3963bf5aca0207ace93fc2f (patch)
tree18d62188c733342a205cf64ee07f6889fa647f16
parentDefine a CLOS-like 'around' modifier as a decorator, to neaten up the 'orig_*... (diff)
parentunbreak wordwrapping by breaking multiline paste for now (diff)
downloadsynapse-3292f70071f036e8a3963bf5aca0207ace93fc2f.tar.xz
Merge remote-tracking branch 'origin/master' into develop
Diffstat (limited to '')
-rw-r--r--WISHLIST.rst2
-rwxr-xr-xwebclient/app.css3
-rw-r--r--webclient/room/room-controller.js4
3 files changed, 6 insertions, 3 deletions
diff --git a/WISHLIST.rst b/WISHLIST.rst
index 68324ad9d4..a0713f1966 100644
--- a/WISHLIST.rst
+++ b/WISHLIST.rst
@@ -5,3 +5,5 @@ Broad-sweeping stuff which would be nice to have
  - homeserver implementation in go
  - homeserver implementation in node.js
  - client SDKs
+ - libpurple library
+ - irssi plugin?
diff --git a/webclient/app.css b/webclient/app.css
index a277bd2a59..064f626f0b 100755
--- a/webclient/app.css
+++ b/webclient/app.css
@@ -529,7 +529,8 @@ a:active  { color: #000; }
 
 .bubble .message {
     /* Break lines when encountering CR+LF */
-    white-space: pre;
+    /* FIXME: this breaks wordwrapping.  We need to s#CRLF#<br/>#g instead */
+/*    white-space: pre; */
 }
 .bubble .messagePending {
     opacity: 0.3
diff --git a/webclient/room/room-controller.js b/webclient/room/room-controller.js
index 45dfff95c2..50d902ae47 100644
--- a/webclient/room/room-controller.js
+++ b/webclient/room/room-controller.js
@@ -220,7 +220,7 @@ angular.module('RoomController', ['ngSanitize', 'matrixFilter', 'mFileInput'])
     };
 
     var paginate = function(numItems) {
-        // console.log("paginate " + numItems);
+        //console.log("paginate " + numItems + " and first_pagination is " + $scope.state.first_pagination);
         if ($scope.state.paginating || !$scope.room_id) {
             return;
         }
@@ -260,7 +260,7 @@ angular.module('RoomController', ['ngSanitize', 'matrixFilter', 'mFileInput'])
                 }
                 
                 if ($scope.state.first_pagination) {
-                    scrollToBottom();
+                    scrollToBottom(true);
                     $scope.state.first_pagination = false;
                 }
                 else {