new param getUserObjects to avoid retransmitting the whole user info objects
This commit is contained in:
		| @@ -1610,6 +1610,9 @@ | |||||||
|       } else { |       } else { | ||||||
|         $d['text'] = $item['title']."\n".html2plain(bbcode($item['body']), 0); |         $d['text'] = $item['title']."\n".html2plain(bbcode($item['body']), 0); | ||||||
|       } |       } | ||||||
|  |       if (isset($_GET["getUserObjects"]) && $_GET["getUserObjects"] == "false") { | ||||||
|  |         unset($d['sender']); unset($d['recipient']); | ||||||
|  |       } | ||||||
|       $ret[]=$d; |       $ret[]=$d; | ||||||
| 		} | 		} | ||||||
| 		 | 		 | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user