Remove unused method
This commit is contained in:
parent
08d20a1096
commit
96870870e1
@ -22,15 +22,6 @@ class Message {
|
||||
userColor() {
|
||||
return messageBubbleColorForString(this.author);
|
||||
}
|
||||
|
||||
toModel() {
|
||||
return {
|
||||
author: this.author(),
|
||||
body: this.body(),
|
||||
image: this.image(),
|
||||
id: this.id
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user