use parent_mid in the parent query for enotify instead of of the parent id. This should fix the issue with encrypted content in the notification messages (for locally posted replies). The fix was a bit harder than anticipated because we store the parent id as an int in the notify table so this had to be modified to char storage as well.
This commit is contained in:
@@ -622,7 +622,7 @@ CREATE TABLE IF NOT EXISTS `notify` (
|
||||
`aid` int(11) NOT NULL,
|
||||
`uid` int(11) NOT NULL,
|
||||
`link` char(255) NOT NULL,
|
||||
`parent` int(11) NOT NULL,
|
||||
`parent` char(255) NOT NULL DEFAULT '',
|
||||
`seen` tinyint(1) NOT NULL DEFAULT '0',
|
||||
`type` int(11) NOT NULL,
|
||||
`verb` char(255) NOT NULL,
|
||||
|
||||
Reference in New Issue
Block a user