Revert "auto http/https avatarUrl"

This reverts commit 4b98c56965.
pull/13/head
simon3000 5 years ago
parent 4b98c56965
commit 1991e33b9d
No known key found for this signature in database
GPG Key ID: AF9E4E00993D5AD9

@ -112,10 +112,7 @@ export default {
}
},
methods: {
addMessage({ avatarUrl, ...message }) {
if (avatarUrl) {
message.avatarUrl = avatarUrl.replace('http:', '').replace('https:', '')
}
addMessage(message) {
this.addMessages([message])
},
addMessages(messages) {

Loading…
Cancel
Save