mirror of
https://github.com/zulip/zulip.git
synced 2025-11-09 08:26:11 +00:00
Replace /json/get_old_messages with REST style route.
This commit is contained in:
@@ -489,8 +489,8 @@ exports.load_old_messages = function load_old_messages(opts) {
|
||||
data.use_first_unread_anchor = true;
|
||||
}
|
||||
|
||||
channel.post({
|
||||
url: '/json/get_old_messages',
|
||||
channel.get({
|
||||
url: '/json/messages',
|
||||
data: data,
|
||||
idempotent: true,
|
||||
success: function (data) {
|
||||
|
||||
Reference in New Issue
Block a user