You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Whenever a chat message is produced, the other players (but not the GM) get shown an error message.
Possibly an interaction with the module ChatPortrait. Didn't happen before Simple Calendar 2.4.8.
User lacks permission to update ChatMessage [E05uWeGYTTzuIZS1] foundry.js:68326:78
fetch foundry.js:68326
notify foundry.js:68223
error foundry.js:68260
_handleError foundry.js:3468
dispatch foundry.js:3450
value socket.js:532
value socket.js:459
emit index.mjs:136
value manager.js:207
Foundry VTT | Created ChatMessage with id [E05uWeGYTTzuIZS1]
Error: User lacks permission to update ChatMessage [E05uWeGYTTzuIZS1]
index.js:1:69208
addGameTimeToMessage modules/foundryvtt-simple-calendar/index.js:1
TypeError: Error thrown in hooked function '' for hook 'preCreateChatMessage'. speakerInfo.author is undefined
[Detected 1 package: chat-portrait]
userByAlias ChatPortrait.js:1125
find commons.js:4167
loadImagePathForChatMessage ChatPortrait.js:1124
setupHooks main.js:131
#call foundry.js:730
call foundry.js:712
#preCreateDocumentArray foundry.js:13542
"Source" is this:
class Ye {
static addGameTimeToMessage(e) {
const s = R.getActiveCalendar(),
a = {
id: s.id,
timestamp: s.toSeconds()
};
e.setFlag(t, 'sc-timestamps', a).catch((e => {
console.error(e)
}))
}
To Reproduce
Log in as a user
Have a second user roll or write a chat message
First user sees the error message
Foundry Information
Foundry Version: 11.315
Game System: pf1e 9.6
Simple Calendar Version: 2.4.8
Browser (please complete the following information):
Describe the bug
Whenever a chat message is produced, the other players (but not the GM) get shown an error message.
Possibly an interaction with the module ChatPortrait. Didn't happen before Simple Calendar 2.4.8.
"Source" is this:
To Reproduce
Foundry Information
Browser (please complete the following information):
Additional context
This module is installed as well: https://github.com/p4535992/foundryvtt-chat-portrait
The text was updated successfully, but these errors were encountered: