Don't document that outbound portal avatars are supported
Also comment-out its unused code
This commit is contained in:
parent
79fe8748b1
commit
454d1b72cc
|
@ -27,7 +27,7 @@
|
||||||
* [ ] Room metadata changes
|
* [ ] Room metadata changes
|
||||||
* [x] Name<sup>[1]</sup>
|
* [x] Name<sup>[1]</sup>
|
||||||
* [x] Topic<sup>[1]</sup>
|
* [x] Topic<sup>[1]</sup>
|
||||||
* [x] Avatar<sup>[1]</sup>
|
* [ ] Avatar
|
||||||
* [ ] Per-room user nick
|
* [ ] Per-room user nick
|
||||||
* KakaoTalk → Matrix
|
* KakaoTalk → Matrix
|
||||||
* [ ] Message content
|
* [ ] Message content
|
||||||
|
|
|
@ -498,6 +498,7 @@ class Client:
|
||||||
description=description,
|
description=description,
|
||||||
)
|
)
|
||||||
|
|
||||||
|
""" TODO
|
||||||
def set_channel_photo(
|
def set_channel_photo(
|
||||||
self,
|
self,
|
||||||
channel_props: ChannelProps,
|
channel_props: ChannelProps,
|
||||||
|
@ -508,6 +509,7 @@ class Client:
|
||||||
channel_props=channel_props.serialize(),
|
channel_props=channel_props.serialize(),
|
||||||
photo_url=photo_url,
|
photo_url=photo_url,
|
||||||
)
|
)
|
||||||
|
"""
|
||||||
|
|
||||||
def create_direct_chat(self, ktid: Long) -> Awaitable[Long]:
|
def create_direct_chat(self, ktid: Long) -> Awaitable[Long]:
|
||||||
return self._api_user_request_result(
|
return self._api_user_request_result(
|
||||||
|
|
|
@ -1119,12 +1119,12 @@ export default class PeerClient {
|
||||||
return await talkChannel.setNoticeMeta(req.description)
|
return await talkChannel.setNoticeMeta(req.description)
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/*
|
||||||
|
* TODO
|
||||||
* @param {Object} req
|
* @param {Object} req
|
||||||
* @param {string} req.mxid
|
* @param {string} req.mxid
|
||||||
* @param {ChannelProps} req.channel_props
|
* @param {ChannelProps} req.channel_props
|
||||||
* @param {string} req.photo_url
|
* @param {string} req.photo_url
|
||||||
*/
|
|
||||||
setChannelPhoto = async (req) => {
|
setChannelPhoto = async (req) => {
|
||||||
const talkChannel = await this.#getUserChannel(
|
const talkChannel = await this.#getUserChannel(
|
||||||
req.mxid,
|
req.mxid,
|
||||||
|
@ -1137,6 +1137,7 @@ export default class PeerClient {
|
||||||
fullImageUrl: req.photo_url,
|
fullImageUrl: req.photo_url,
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @param {Object} req
|
* @param {Object} req
|
||||||
|
@ -1284,7 +1285,7 @@ export default class PeerClient {
|
||||||
send_perm: this.sendPerm,
|
send_perm: this.sendPerm,
|
||||||
set_channel_name: this.setChannelName,
|
set_channel_name: this.setChannelName,
|
||||||
set_channel_description: this.setChannelDescription,
|
set_channel_description: this.setChannelDescription,
|
||||||
set_channel_photo: this.setChannelPhoto,
|
//set_channel_photo: this.setChannelPhoto,
|
||||||
create_direct_chat: this.createDirectChat,
|
create_direct_chat: this.createDirectChat,
|
||||||
leave_channel: this.leaveChannel,
|
leave_channel: this.leaveChannel,
|
||||||
}[req.command] || this.handleUnknownCommand
|
}[req.command] || this.handleUnknownCommand
|
||||||
|
|
Loading…
Reference in New Issue