forked from GNUsocial/gnu-social
Don't add PHPSESSID parameter onto notice and conversation URIs if we save a notice during a session override.
This was being triggered by welcomebot messages created at account creation time, then propagated through replies.
This commit is contained in:
@@ -63,7 +63,8 @@ class Conversation extends Memcached_DataObject
|
||||
}
|
||||
|
||||
$orig = clone($conv);
|
||||
$orig->uri = common_local_url('conversation', array('id' => $id));
|
||||
$orig->uri = common_local_url('conversation', array('id' => $id),
|
||||
null, null, false);
|
||||
$result = $orig->update($conv);
|
||||
|
||||
if (empty($result)) {
|
||||
|
||||
Reference in New Issue
Block a user