mirror of
https://github.com/MisskeyIO/misskey
synced 2024-11-23 14:46:40 +09:00
Merge tag '2024.5.0-io.4d' into bun
This commit is contained in:
commit
8bc0d5224b
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "misskey",
|
||||
"version": "2024.5.0-io.4c",
|
||||
"version": "2024.5.0-io.4d",
|
||||
"codename": "nasubi",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
|
@ -304,6 +304,12 @@ export class EmailService {
|
||||
reason: 'mx',
|
||||
};
|
||||
}
|
||||
if (json.mx_host?.some(host => this.utilityService.isBlockedHost(meta.bannedEmailDomains, host))) {
|
||||
return {
|
||||
valid: false,
|
||||
reason: 'mx',
|
||||
};
|
||||
}
|
||||
|
||||
return {
|
||||
valid: true,
|
||||
|
@ -99,7 +99,7 @@ export default class extends Endpoint<typeof meta, typeof paramDef> {
|
||||
} else if (ps.reportContentPattern === null) {
|
||||
properties.reportContentPattern = null;
|
||||
}
|
||||
if (ps.forward) properties.forward = ps.forward;
|
||||
if (ps.forward !== undefined) properties.forward = ps.forward;
|
||||
if (ps.expiresAt) {
|
||||
let expirationDate: Date | null = new Date();
|
||||
const previousMonth = expirationDate.getUTCMonth();
|
||||
|
@ -27,7 +27,11 @@ const props = defineProps<{
|
||||
movedFrom?: string; // user id
|
||||
}>();
|
||||
|
||||
misskeyApi('users/show', { userId: props.movedTo ?? props.movedFrom }).then(u => user.value = u);
|
||||
if (props.movedTo || props.movedFrom) {
|
||||
misskeyApi('users/show', {
|
||||
userId: props.movedTo ?? props.movedFrom
|
||||
}).then(u => user.value = u);
|
||||
}
|
||||
</script>
|
||||
|
||||
<style lang="scss" module>
|
||||
|
@ -709,6 +709,7 @@ definePageMetadata(() => ({
|
||||
<style lang="scss" module>
|
||||
.ip {
|
||||
display: flex;
|
||||
word-break: break-all;
|
||||
|
||||
> :global(.date) {
|
||||
opacity: 0.7;
|
||||
|
@ -485,7 +485,7 @@ export const defaultStore = markRaw(new Storage('base', {
|
||||
},
|
||||
sound_note: {
|
||||
where: 'device',
|
||||
default: { type: 'syuilo/n-aec', volume: 1 } as SoundStore,
|
||||
default: { type: null, volume: 1 } as SoundStore,
|
||||
},
|
||||
sound_noteMy: {
|
||||
where: 'device',
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"type": "module",
|
||||
"name": "misskey-js",
|
||||
"version": "2024.5.0-io.4c",
|
||||
"version": "2024.5.0-io.4d",
|
||||
"description": "Misskey SDK for JavaScript",
|
||||
"types": "./built/dts/index.d.ts",
|
||||
"exports": {
|
||||
|
Loading…
Reference in New Issue
Block a user