no message

This commit is contained in:
kuaifan 2023-07-28 14:47:34 +08:00
parent 34745fb3e5
commit 25c2a0d90e
3 changed files with 13 additions and 4 deletions

View File

@ -167,7 +167,7 @@ class User extends AbstractModel
if (!$this->bot) {
return 0;
}
$key = "getBotOwner::" . $this->userid;
$key = "userBotOwner::" . $this->userid;
return Cache::remember($key, now()->addMonth(), function() {
return intval(UserBot::whereBotId($this->userid)->value('userid')) ?: $this->userid;
});

View File

@ -3,7 +3,7 @@ version: '3'
services:
php:
container_name: "dootask-php-${APP_ID}"
image: "kuaifan/php:swoole-8.0.rc12"
image: "kuaifan/php:swoole-8.0.rc13"
shm_size: "2gb"
ulimits:
core:

View File

@ -941,10 +941,19 @@ export default {
},
onClickEditor() {
this.$store.state.messengerSearchKey = {dialog: '', contacts: ''}
this.clearSearchKey()
this.updateEmojiQuick(this.value)
},
clearSearchKey() {
if (this.$parent.$options.name === 'DialogWrapper' && (this.$store.state.messengerSearchKey.dialog != '' || this.$store.state.messengerSearchKey.contacts != '')) {
setTimeout(_ => {
this.$parent.onActive();
}, 10)
}
this.$store.state.messengerSearchKey = {dialog: '', contacts: ''}
},
focus() {
this.$nextTick(() => {
if (this.quill) {
@ -1005,7 +1014,7 @@ export default {
onSend(type) {
this.hidePopover('send')
this.rangeIndex = 0
this.$store.state.messengerSearchKey = {dialog: '', contacts: ''}
this.clearSearchKey()
if (type) {
this.$emit('on-send', null, type)
} else {