Drop the word 'recent' from get_channel_messages db method name

This commit is contained in:
Max Brunsfeld
2021-08-27 15:50:45 -07:00
parent fbc88d5f88
commit b3d5f01ba8
2 changed files with 5 additions and 8 deletions
+2 -2
View File
@@ -595,7 +595,7 @@ impl Server {
let messages = self
.app_state
.db
.get_recent_channel_messages(channel_id, MESSAGE_COUNT_PER_PAGE, None)
.get_channel_messages(channel_id, MESSAGE_COUNT_PER_PAGE, None)
.await?
.into_iter()
.map(|msg| proto::ChannelMessage {
@@ -716,7 +716,7 @@ impl Server {
let messages = self
.app_state
.db
.get_recent_channel_messages(
.get_channel_messages(
channel_id,
MESSAGE_COUNT_PER_PAGE,
Some(MessageId::from_proto(request.payload.before_message_id)),