liveupdate: only modify existing conversations if not page1
This commit is contained in:
parent
ee4975f1cd
commit
4f2d516920
2
boot.php
2
boot.php
|
@ -9,7 +9,7 @@ require_once('include/nav.php');
|
||||||
require_once('include/cache.php');
|
require_once('include/cache.php');
|
||||||
|
|
||||||
define ( 'FRIENDICA_PLATFORM', 'Friendica');
|
define ( 'FRIENDICA_PLATFORM', 'Friendica');
|
||||||
define ( 'FRIENDICA_VERSION', '2.3.1193' );
|
define ( 'FRIENDICA_VERSION', '2.3.1194' );
|
||||||
define ( 'DFRN_PROTOCOL_VERSION', '2.22' );
|
define ( 'DFRN_PROTOCOL_VERSION', '2.22' );
|
||||||
define ( 'DB_UPDATE_VERSION', 1111 );
|
define ( 'DB_UPDATE_VERSION', 1111 );
|
||||||
|
|
||||||
|
|
|
@ -256,7 +256,8 @@
|
||||||
|
|
||||||
$('.wall-item-outside-wrapper',data).each(function() {
|
$('.wall-item-outside-wrapper',data).each(function() {
|
||||||
var ident = $(this).attr('id');
|
var ident = $(this).attr('id');
|
||||||
if($('#' + ident).length == 0) {
|
// If not on page 1, only add new conversation items to existing conversations on this page
|
||||||
|
if($('#' + ident).length == 0 && (profile_page == 1 || prev != 'live-' + src)) {
|
||||||
$('img',this).each(function() {
|
$('img',this).each(function() {
|
||||||
$(this).attr('src',$(this).attr('dst'));
|
$(this).attr('src',$(this).attr('dst'));
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue
Block a user