mirror of
https://github.com/ArcaneChat/android.git
synced 2026-07-03 14:05:24 +02:00
rename the function to what it does: sending multiple messages
This commit is contained in:
@@ -363,7 +363,7 @@ public class ConversationActivity extends PassphraseRequiredActionBarActivity
|
||||
for (int i = 0; i < uriCount; i++) {
|
||||
uriList.add(multipleUris.getItemAt(i).getUri());
|
||||
}
|
||||
askSendingFiles(uriList, () -> SendRelayedMessageUtil.handleSharing(this, chatId, uriList, null));
|
||||
askSendingFiles(uriList, () -> SendRelayedMessageUtil.sendMultipleMsgs(this, chatId, uriList, null));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -50,7 +50,7 @@ public class SendRelayedMessageUtil {
|
||||
resetRelayingMessageContent(activity);
|
||||
Util.runOnAnyBackgroundThread(() -> {
|
||||
for (long chatId : chatIds) {
|
||||
handleSharing(activity, (int) chatId, sharedUris, sharedText);
|
||||
sendMultipleMsgs(activity, (int) chatId, sharedUris, sharedText);
|
||||
}
|
||||
});
|
||||
}
|
||||
@@ -61,7 +61,7 @@ public class SendRelayedMessageUtil {
|
||||
dcContext.forwardMsgs(forwardedMessageIDs, chatId);
|
||||
}
|
||||
|
||||
public static void handleSharing(Context context, int chatId, ArrayList<Uri> sharedUris, String sharedText) {
|
||||
public static void sendMultipleMsgs(Context context, int chatId, ArrayList<Uri> sharedUris, String sharedText) {
|
||||
DcContext dcContext = DcHelper.getContext(context);
|
||||
ArrayList<Uri> uris = sharedUris;
|
||||
String text = sharedText;
|
||||
|
||||
Reference in New Issue
Block a user