mirror of
https://github.com/mamoe/mirai.git
synced 2025-02-08 07:54:44 +08:00
Updated robot & network structure
This commit is contained in:
parent
d0a9a9da34
commit
7b8cd5d521
@ -29,6 +29,9 @@ public final class MessageChain extends Message {
|
|||||||
list.add(message);
|
list.add(message);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return An unmodifiable list
|
||||||
|
*/
|
||||||
public List<Message> toList() {
|
public List<Message> toList() {
|
||||||
return List.copyOf(list);
|
return List.copyOf(list);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user