Work in progress making the account picker actually work.

git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3946 ed5197a5-7fde-0310-b194-c3ffbd925b24
This commit is contained in:
2022-08-03 23:26:41 +00:00
parent fab2c17b43
commit 787e439524
5 changed files with 54 additions and 45 deletions

View File

@@ -65,7 +65,10 @@ Vue.component('tf-message', {
}
},
show_message: function() {
window.parent.postMessage({action: 'setHash', hash: this.message.id}, '*');
window.parent.postMessage({
action: 'setHash',
hash: tf.g_data.whoami + ':' + this.message.id,
}, '*');
},
expand_image: function(event) {
var div = document.createElement('div');